#pragma once
#include <qthread.h>
#include "YOLODetector.hxx"
#include "SORTTracker.hxx"
#include "TrackingThread.hxx"

class Sequence;
class FramePool;

class SortTrackingThread : public TrackingThread
{
	Q_OBJECT
public:
	SortTrackingThread();
	~SortTrackingThread();

	inline void setModelType(const char* modelName) { strcpy(_modelType, modelName); }

	void initialize() override;

	void run() override;


private:
	YOLODetector _detector;
	SORTTracker _tracker;

	char _modelType[256];
};

